import Head from 'next/head';
import ColumnOptionsTable from '../../../components/prop-tables/ColumnOptionsTable';
import SourceCode from '../../../components/prop-tables/ColumnOptionsSource';

<Head>
  <title>Column Options - Material React Table V1 Docs</title>
  <meta
    name="description"
    content="All the column options that can be used in Material React Table"
  />
  <meta
    property="og:title"
    content="Material React Table Column Options API Reference"
  />
  <meta
    property="og:description"
    content="A reference of all the column options that can be used in Material React Table"
  />
</Head>

## Column Options

> Many of the column options you can pass here are the same as the ones that you can pass to the [useReactTable](https://tanstack.com/table/v8/docs/api/core/column-def) ColumnDefs

Here is a list of all the column options you can specify in a `column` definition.

```tsx
const columns = useMemo(
  () => [
    {
      accessorKey: 'name',
      header: 'Name',
      // All of the options you can specify here
    },
  ],
  [],
);

return <MaterialReactTable columns={columns} data={data} />;
```

<ColumnOptionsTable />

<SourceCode />
